package com.hzhr.extdevice.model.database;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EquipCollectStateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EquipCollectStateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidIsNull() {
            addCriterion("IOT_DEVICEID is null");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidIsNotNull() {
            addCriterion("IOT_DEVICEID is not null");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidEqualTo(String value) {
            addCriterion("IOT_DEVICEID =", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidNotEqualTo(String value) {
            addCriterion("IOT_DEVICEID <>", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidGreaterThan(String value) {
            addCriterion("IOT_DEVICEID >", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidGreaterThanOrEqualTo(String value) {
            addCriterion("IOT_DEVICEID >=", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidLessThan(String value) {
            addCriterion("IOT_DEVICEID <", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidLessThanOrEqualTo(String value) {
            addCriterion("IOT_DEVICEID <=", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidLike(String value) {
            addCriterion("IOT_DEVICEID like", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidNotLike(String value) {
            addCriterion("IOT_DEVICEID not like", value, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidIn(List<String> values) {
            addCriterion("IOT_DEVICEID in", values, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidNotIn(List<String> values) {
            addCriterion("IOT_DEVICEID not in", values, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidBetween(String value1, String value2) {
            addCriterion("IOT_DEVICEID between", value1, value2, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andIotDeviceidNotBetween(String value1, String value2) {
            addCriterion("IOT_DEVICEID not between", value1, value2, "iotDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidIsNull() {
            addCriterion("COLLECT_DEVICEID is null");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidIsNotNull() {
            addCriterion("COLLECT_DEVICEID is not null");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidEqualTo(String value) {
            addCriterion("COLLECT_DEVICEID =", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidNotEqualTo(String value) {
            addCriterion("COLLECT_DEVICEID <>", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidGreaterThan(String value) {
            addCriterion("COLLECT_DEVICEID >", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidGreaterThanOrEqualTo(String value) {
            addCriterion("COLLECT_DEVICEID >=", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidLessThan(String value) {
            addCriterion("COLLECT_DEVICEID <", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidLessThanOrEqualTo(String value) {
            addCriterion("COLLECT_DEVICEID <=", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidLike(String value) {
            addCriterion("COLLECT_DEVICEID like", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidNotLike(String value) {
            addCriterion("COLLECT_DEVICEID not like", value, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidIn(List<String> values) {
            addCriterion("COLLECT_DEVICEID in", values, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidNotIn(List<String> values) {
            addCriterion("COLLECT_DEVICEID not in", values, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidBetween(String value1, String value2) {
            addCriterion("COLLECT_DEVICEID between", value1, value2, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andCollectDeviceidNotBetween(String value1, String value2) {
            addCriterion("COLLECT_DEVICEID not between", value1, value2, "collectDeviceid");
            return (Criteria) this;
        }

        public Criteria andStaflowrateIsNull() {
            addCriterion("STAFLOWRATE is null");
            return (Criteria) this;
        }

        public Criteria andStaflowrateIsNotNull() {
            addCriterion("STAFLOWRATE is not null");
            return (Criteria) this;
        }

        public Criteria andStaflowrateEqualTo(String value) {
            addCriterion("STAFLOWRATE =", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateNotEqualTo(String value) {
            addCriterion("STAFLOWRATE <>", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateGreaterThan(String value) {
            addCriterion("STAFLOWRATE >", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateGreaterThanOrEqualTo(String value) {
            addCriterion("STAFLOWRATE >=", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateLessThan(String value) {
            addCriterion("STAFLOWRATE <", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateLessThanOrEqualTo(String value) {
            addCriterion("STAFLOWRATE <=", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateLike(String value) {
            addCriterion("STAFLOWRATE like", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateNotLike(String value) {
            addCriterion("STAFLOWRATE not like", value, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateIn(List<String> values) {
            addCriterion("STAFLOWRATE in", values, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateNotIn(List<String> values) {
            addCriterion("STAFLOWRATE not in", values, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateBetween(String value1, String value2) {
            addCriterion("STAFLOWRATE between", value1, value2, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStaflowrateNotBetween(String value1, String value2) {
            addCriterion("STAFLOWRATE not between", value1, value2, "staflowrate");
            return (Criteria) this;
        }

        public Criteria andStatotalflowIsNull() {
            addCriterion("STATOTALFLOW is null");
            return (Criteria) this;
        }

        public Criteria andStatotalflowIsNotNull() {
            addCriterion("STATOTALFLOW is not null");
            return (Criteria) this;
        }

        public Criteria andStatotalflowEqualTo(String value) {
            addCriterion("STATOTALFLOW =", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowNotEqualTo(String value) {
            addCriterion("STATOTALFLOW <>", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowGreaterThan(String value) {
            addCriterion("STATOTALFLOW >", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowGreaterThanOrEqualTo(String value) {
            addCriterion("STATOTALFLOW >=", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowLessThan(String value) {
            addCriterion("STATOTALFLOW <", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowLessThanOrEqualTo(String value) {
            addCriterion("STATOTALFLOW <=", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowLike(String value) {
            addCriterion("STATOTALFLOW like", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowNotLike(String value) {
            addCriterion("STATOTALFLOW not like", value, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowIn(List<String> values) {
            addCriterion("STATOTALFLOW in", values, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowNotIn(List<String> values) {
            addCriterion("STATOTALFLOW not in", values, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowBetween(String value1, String value2) {
            addCriterion("STATOTALFLOW between", value1, value2, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andStatotalflowNotBetween(String value1, String value2) {
            addCriterion("STATOTALFLOW not between", value1, value2, "statotalflow");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNull() {
            addCriterion("TEMPERATURE is null");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNotNull() {
            addCriterion("TEMPERATURE is not null");
            return (Criteria) this;
        }

        public Criteria andTemperatureEqualTo(String value) {
            addCriterion("TEMPERATURE =", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotEqualTo(String value) {
            addCriterion("TEMPERATURE <>", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThan(String value) {
            addCriterion("TEMPERATURE >", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThanOrEqualTo(String value) {
            addCriterion("TEMPERATURE >=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThan(String value) {
            addCriterion("TEMPERATURE <", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThanOrEqualTo(String value) {
            addCriterion("TEMPERATURE <=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLike(String value) {
            addCriterion("TEMPERATURE like", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotLike(String value) {
            addCriterion("TEMPERATURE not like", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureIn(List<String> values) {
            addCriterion("TEMPERATURE in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotIn(List<String> values) {
            addCriterion("TEMPERATURE not in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureBetween(String value1, String value2) {
            addCriterion("TEMPERATURE between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotBetween(String value1, String value2) {
            addCriterion("TEMPERATURE not between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andPressureIsNull() {
            addCriterion("PRESSURE is null");
            return (Criteria) this;
        }

        public Criteria andPressureIsNotNull() {
            addCriterion("PRESSURE is not null");
            return (Criteria) this;
        }

        public Criteria andPressureEqualTo(String value) {
            addCriterion("PRESSURE =", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureNotEqualTo(String value) {
            addCriterion("PRESSURE <>", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureGreaterThan(String value) {
            addCriterion("PRESSURE >", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureGreaterThanOrEqualTo(String value) {
            addCriterion("PRESSURE >=", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureLessThan(String value) {
            addCriterion("PRESSURE <", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureLessThanOrEqualTo(String value) {
            addCriterion("PRESSURE <=", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureLike(String value) {
            addCriterion("PRESSURE like", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureNotLike(String value) {
            addCriterion("PRESSURE not like", value, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureIn(List<String> values) {
            addCriterion("PRESSURE in", values, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureNotIn(List<String> values) {
            addCriterion("PRESSURE not in", values, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureBetween(String value1, String value2) {
            addCriterion("PRESSURE between", value1, value2, "pressure");
            return (Criteria) this;
        }

        public Criteria andPressureNotBetween(String value1, String value2) {
            addCriterion("PRESSURE not between", value1, value2, "pressure");
            return (Criteria) this;
        }

        public Criteria andConcentrationIsNull() {
            addCriterion("CONCENTRATION is null");
            return (Criteria) this;
        }

        public Criteria andConcentrationIsNotNull() {
            addCriterion("CONCENTRATION is not null");
            return (Criteria) this;
        }

        public Criteria andConcentrationEqualTo(String value) {
            addCriterion("CONCENTRATION =", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationNotEqualTo(String value) {
            addCriterion("CONCENTRATION <>", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationGreaterThan(String value) {
            addCriterion("CONCENTRATION >", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationGreaterThanOrEqualTo(String value) {
            addCriterion("CONCENTRATION >=", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationLessThan(String value) {
            addCriterion("CONCENTRATION <", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationLessThanOrEqualTo(String value) {
            addCriterion("CONCENTRATION <=", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationLike(String value) {
            addCriterion("CONCENTRATION like", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationNotLike(String value) {
            addCriterion("CONCENTRATION not like", value, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationIn(List<String> values) {
            addCriterion("CONCENTRATION in", values, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationNotIn(List<String> values) {
            addCriterion("CONCENTRATION not in", values, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationBetween(String value1, String value2) {
            addCriterion("CONCENTRATION between", value1, value2, "concentration");
            return (Criteria) this;
        }

        public Criteria andConcentrationNotBetween(String value1, String value2) {
            addCriterion("CONCENTRATION not between", value1, value2, "concentration");
            return (Criteria) this;
        }

        public Criteria andInputpressureIsNull() {
            addCriterion("INPUTPRESSURE is null");
            return (Criteria) this;
        }

        public Criteria andInputpressureIsNotNull() {
            addCriterion("INPUTPRESSURE is not null");
            return (Criteria) this;
        }

        public Criteria andInputpressureEqualTo(String value) {
            addCriterion("INPUTPRESSURE =", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureNotEqualTo(String value) {
            addCriterion("INPUTPRESSURE <>", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureGreaterThan(String value) {
            addCriterion("INPUTPRESSURE >", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureGreaterThanOrEqualTo(String value) {
            addCriterion("INPUTPRESSURE >=", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureLessThan(String value) {
            addCriterion("INPUTPRESSURE <", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureLessThanOrEqualTo(String value) {
            addCriterion("INPUTPRESSURE <=", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureLike(String value) {
            addCriterion("INPUTPRESSURE like", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureNotLike(String value) {
            addCriterion("INPUTPRESSURE not like", value, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureIn(List<String> values) {
            addCriterion("INPUTPRESSURE in", values, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureNotIn(List<String> values) {
            addCriterion("INPUTPRESSURE not in", values, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureBetween(String value1, String value2) {
            addCriterion("INPUTPRESSURE between", value1, value2, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andInputpressureNotBetween(String value1, String value2) {
            addCriterion("INPUTPRESSURE not between", value1, value2, "inputpressure");
            return (Criteria) this;
        }

        public Criteria andCrearetimeIsNull() {
            addCriterion("CREARETIME is null");
            return (Criteria) this;
        }

        public Criteria andCrearetimeIsNotNull() {
            addCriterion("CREARETIME is not null");
            return (Criteria) this;
        }

        public Criteria andCrearetimeEqualTo(Date value) {
            addCriterion("CREARETIME =", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeNotEqualTo(Date value) {
            addCriterion("CREARETIME <>", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeGreaterThan(Date value) {
            addCriterion("CREARETIME >", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREARETIME >=", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeLessThan(Date value) {
            addCriterion("CREARETIME <", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeLessThanOrEqualTo(Date value) {
            addCriterion("CREARETIME <=", value, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeIn(List<Date> values) {
            addCriterion("CREARETIME in", values, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeNotIn(List<Date> values) {
            addCriterion("CREARETIME not in", values, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeBetween(Date value1, Date value2) {
            addCriterion("CREARETIME between", value1, value2, "crearetime");
            return (Criteria) this;
        }

        public Criteria andCrearetimeNotBetween(Date value1, Date value2) {
            addCriterion("CREARETIME not between", value1, value2, "crearetime");
            return (Criteria) this;
        }

        public Criteria andPowerIsNull() {
            addCriterion("POWER is null");
            return (Criteria) this;
        }

        public Criteria andPowerIsNotNull() {
            addCriterion("POWER is not null");
            return (Criteria) this;
        }

        public Criteria andPowerEqualTo(String value) {
            addCriterion("POWER =", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotEqualTo(String value) {
            addCriterion("POWER <>", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThan(String value) {
            addCriterion("POWER >", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerGreaterThanOrEqualTo(String value) {
            addCriterion("POWER >=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThan(String value) {
            addCriterion("POWER <", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLessThanOrEqualTo(String value) {
            addCriterion("POWER <=", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerLike(String value) {
            addCriterion("POWER like", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotLike(String value) {
            addCriterion("POWER not like", value, "power");
            return (Criteria) this;
        }

        public Criteria andPowerIn(List<String> values) {
            addCriterion("POWER in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotIn(List<String> values) {
            addCriterion("POWER not in", values, "power");
            return (Criteria) this;
        }

        public Criteria andPowerBetween(String value1, String value2) {
            addCriterion("POWER between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andPowerNotBetween(String value1, String value2) {
            addCriterion("POWER not between", value1, value2, "power");
            return (Criteria) this;
        }

        public Criteria andReporttimeIsNull() {
            addCriterion("REPORTTIME is null");
            return (Criteria) this;
        }

        public Criteria andReporttimeIsNotNull() {
            addCriterion("REPORTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andReporttimeEqualTo(Date value) {
            addCriterion("REPORTTIME =", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeNotEqualTo(Date value) {
            addCriterion("REPORTTIME <>", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeGreaterThan(Date value) {
            addCriterion("REPORTTIME >", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REPORTTIME >=", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeLessThan(Date value) {
            addCriterion("REPORTTIME <", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeLessThanOrEqualTo(Date value) {
            addCriterion("REPORTTIME <=", value, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeIn(List<Date> values) {
            addCriterion("REPORTTIME in", values, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeNotIn(List<Date> values) {
            addCriterion("REPORTTIME not in", values, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeBetween(Date value1, Date value2) {
            addCriterion("REPORTTIME between", value1, value2, "reporttime");
            return (Criteria) this;
        }

        public Criteria andReporttimeNotBetween(Date value1, Date value2) {
            addCriterion("REPORTTIME not between", value1, value2, "reporttime");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusIsNull() {
            addCriterion("ALARMSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusIsNotNull() {
            addCriterion("ALARMSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusEqualTo(String value) {
            addCriterion("ALARMSTATUS =", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusNotEqualTo(String value) {
            addCriterion("ALARMSTATUS <>", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusGreaterThan(String value) {
            addCriterion("ALARMSTATUS >", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusGreaterThanOrEqualTo(String value) {
            addCriterion("ALARMSTATUS >=", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusLessThan(String value) {
            addCriterion("ALARMSTATUS <", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusLessThanOrEqualTo(String value) {
            addCriterion("ALARMSTATUS <=", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusLike(String value) {
            addCriterion("ALARMSTATUS like", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusNotLike(String value) {
            addCriterion("ALARMSTATUS not like", value, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusIn(List<String> values) {
            addCriterion("ALARMSTATUS in", values, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusNotIn(List<String> values) {
            addCriterion("ALARMSTATUS not in", values, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusBetween(String value1, String value2) {
            addCriterion("ALARMSTATUS between", value1, value2, "alarmstatus");
            return (Criteria) this;
        }

        public Criteria andAlarmstatusNotBetween(String value1, String value2) {
            addCriterion("ALARMSTATUS not between", value1, value2, "alarmstatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}